package com.zhehekeji.opsys.api.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName TWechatConfig
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2017-12-26   下午3:07:58
 */
@Entity
@Table(name="t_wechat_config")
public class TWechatConfig implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7339393671675094868L;
	private Long id;
	private String appId;
	private String appSecret;
	private String accessTokenUrl;
	private String redpackUrl;
	private String redpackActName;
	private String redpackWishing;
	private String redpackRemark;
	private String mchId;
	private String mchName;
	private String mchKey;
	private String mchCert;
	private String clientIp;
	private String qrcodeCreateUrl;
	private String qrcodeShowUrl;
	private int qrcodeExpire;
	private String qrcodePicStoreDir;
	private String qrcodePicHttpPath;
	private String qrcodePicSignKey;
	private Long qrcodePicSignEffectiveTime;
	private String qrcodeInterfaceUrl;
	private String qrcodeInterfaceSafeUrl;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="ID",length=20,nullable=false,unique=true)
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name="APP_ID",length=32,nullable=true)
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	@Column(name="APP_SECRET",length=32,nullable=true)
	public String getAppSecret() {
		return appSecret;
	}
	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}
	@Column(name="ACCESS_TOKEN_URL",length=255,nullable=true)
	public String getAccessTokenUrl() {
		return accessTokenUrl;
	}
	public void setAccessTokenUrl(String accessTokenUrl) {
		this.accessTokenUrl = accessTokenUrl;
	}
	@Column(name="REDPACK_URL",length=255,nullable=true)
	public String getRedpackUrl() {
		return redpackUrl;
	}
	public void setRedpackUrl(String redpackUrl) {
		this.redpackUrl = redpackUrl;
	}
	@Column(name="REDPACK_ACT_NAME",length=128,nullable=true)
	public String getRedpackActName() {
		return redpackActName;
	}
	public void setRedpackActName(String redpackActName) {
		this.redpackActName = redpackActName;
	}
	@Column(name="REDPACK_WISHING",length=128,nullable=true)
	public String getRedpackWishing() {
		return redpackWishing;
	}
	public void setRedpackWishing(String redpackWishing) {
		this.redpackWishing = redpackWishing;
	}
	@Column(name="REDPACK_REMARK",length=128,nullable=true)
	public String getRedpackRemark() {
		return redpackRemark;
	}
	public void setRedpackRemark(String redpackRemark) {
		this.redpackRemark = redpackRemark;
	}
	@Column(name="MCH_ID",length=32,nullable=true)
	public String getMchId() {
		return mchId;
	}
	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	@Column(name="MCH_NAME",length=32,nullable=true)
	public String getMchName() {
		return mchName;
	}
	public void setMchName(String mchName) {
		this.mchName = mchName;
	}
	@Column(name="MCH_KEY",length=32,nullable=true)
	public String getMchKey() {
		return mchKey;
	}
	public void setMchKey(String mchKey) {
		this.mchKey = mchKey;
	}
	@Column(name="MCH_CERT",length=255,nullable=true)
	public String getMchCert() {
		return mchCert;
	}
	public void setMchCert(String mchCert) {
		this.mchCert = mchCert;
	}
	@Column(name="CLIENT_IP",length=16,nullable=true)
	public String getClientIp() {
		return clientIp;
	}
	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}
	@Column(name="QRCODE_CREATE_URL",length=255,nullable=true)
	public String getQrcodeCreateUrl() {
		return qrcodeCreateUrl;
	}
	public void setQrcodeCreateUrl(String qrcodeCreateUrl) {
		this.qrcodeCreateUrl = qrcodeCreateUrl;
	}
	@Column(name="QRCODE_SHOW_URL",length=255,nullable=true)
	public String getQrcodeShowUrl() {
		return qrcodeShowUrl;
	}
	public void setQrcodeShowUrl(String qrcodeShowUrl) {
		this.qrcodeShowUrl = qrcodeShowUrl;
	}
	@Column(name="QRCODE_EXPIRE",length=11,nullable=true)
	public int getQrcodeExpire() {
		return qrcodeExpire;
	}
	public void setQrcodeExpire(int qrcodeExpire) {
		this.qrcodeExpire = qrcodeExpire;
	}
	@Column(name="QRCODE_PIC_STORE_DIR",length=255,nullable=true)
	public String getQrcodePicStoreDir() {
		return qrcodePicStoreDir;
	}
	public void setQrcodePicStoreDir(String qrcodePicStoreDir) {
		this.qrcodePicStoreDir = qrcodePicStoreDir;
	}
	@Column(name="QRCODE_PIC_HTTP_PATH",length=255,nullable=true)
	public String getQrcodePicHttpPath() {
		return qrcodePicHttpPath;
	}
	public void setQrcodePicHttpPath(String qrcodePicHttpPath) {
		this.qrcodePicHttpPath = qrcodePicHttpPath;
	}
	@Column(name="QRCODE_PIC_SIGN_KEY",length=128,nullable=true)
	public String getQrcodePicSignKey() {
		return qrcodePicSignKey;
	}
	public void setQrcodePicSignKey(String qrcodePicSignKey) {
		this.qrcodePicSignKey = qrcodePicSignKey;
	}
	@Column(name="QRCODE_PIC_SIGN_EFFECTIVE_TIME",length=20,nullable=true)
	public Long getQrcodePicSignEffectiveTime() {
		return qrcodePicSignEffectiveTime;
	}
	public void setQrcodePicSignEffectiveTime(Long qrcodePicSignEffectiveTime) {
		this.qrcodePicSignEffectiveTime = qrcodePicSignEffectiveTime;
	}
	@Column(name="QRCODE_INTERFACE_URL",length=255,nullable=true)
	public String getQrcodeInterfaceUrl() {
		return qrcodeInterfaceUrl;
	}
	public void setQrcodeInterfaceUrl(String qrcodeInterfaceUrl) {
		this.qrcodeInterfaceUrl = qrcodeInterfaceUrl;
	}
	@Column(name="QRCODE_INTERFACE_SAFE_URL",length=255,nullable=true)
	public String getQrcodeInterfaceSafeUrl() {
		return qrcodeInterfaceSafeUrl;
	}
	public void setQrcodeInterfaceSafeUrl(String qrcodeInterfaceSafeUrl) {
		this.qrcodeInterfaceSafeUrl = qrcodeInterfaceSafeUrl;
	}
}

